package com.zhongli.devplatform.po.sys;

import com.baomidou.mybatisplus.annotation.*;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @author  WuXiCheng
 * @date  2020/7/23 10:12
 * @version 1.0
 */
@ApiModel(value="com-zhongli-devplatform-po-ReadSubject")
@Data
@TableName(value = "read_subject")
public class ReadSubjectPO {

    @TableId(value = "id", type = IdType.AUTO)
    @ApiModelProperty(value="")
    private Integer id;

    /**
     * 科目名称
     */
    @TableField(value = "subject_name")
    @ApiModelProperty(value="科目名称")
    private String subjectName;

    /**
     * 科目图片
     */
    @TableField(value = "image_url")
    @ApiModelProperty(value="科目图片")
    private String imageUrl;

    @TableField(value = "create_time",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Date createTime;

    @TableField(value = "update_time",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Date updateTime;

    @TableField(value = "create_user_id",fill = FieldFill.INSERT)
    @ApiModelProperty(value="")
    private Integer createUserId;

    @TableField(value = "update_user_id",fill = FieldFill.UPDATE)
    @ApiModelProperty(value="")
    private Integer updateUserId;
}
